home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Turnbull China Bikeride
/
Turnbull China Bikeride - Disc 1.iso
/
DEMON
/
RISCOS2
/
TCP_131S.ARC
/
h
/
finger
< prev
next >
Wrap
Text File
|
1994-01-02
|
1KB
|
43 lines
/*
*
* Finger support...
*
* Finger header defines. Written by Michael T. Horne - KA7AXD.
* Copyright 1988 by Michael T. Horne, All Rights Reserved.
* Permission granted for non-commercial use and copying, provided
* that this notice is retained.
*
*/
#include "Terminal.h"
#define FINGER_PORT 79 /* TCP port for `who' (finger) service */
#define FINGNAMELEN 8 /* max len of user name */
/* finger protocol control block */
struct finger
{
struct tcb *tcb; /* pointer to associated tcb */
struct session *session; /* pointer to finger session */
char *user; /* name of user to finger */
Terminal *window;
};
#define NULLFING (struct finger *) 0
extern char fingerpath[]; /* see files.c */
/* In FINGCLI */
int dofinger(int, char **);
struct finger *alloc_finger(void);
int free_finger(struct finger *);
void fingcli_rcv(struct tcb *, int16);
void f_state(struct tcb *, char, char);
/* In FINGSERV */
int finger1(int, char **);
void fing_state(struct tcb *, char, char);
int finger0(void);
void rcv_fing(struct tcb *, int16);